package com.store.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Ingoods entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ingoods", catalog = "depot")
public class Ingoods implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer IId;
	private Integer IGid;
	private String INumber;
	private Integer IDid;
	private String IDuty;
	private String ITime;

	// Constructors

	/** default constructor */
	public Ingoods() {
	}

	/** full constructor */
	public Ingoods(Integer IGid, String INumber, Integer IDid, String IDuty,
			String ITime) {
		this.IGid = IGid;
		this.INumber = INumber;
		this.IDid = IDid;
		this.IDuty = IDuty;
		this.ITime = ITime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "i_id", unique = true, nullable = false)
	public Integer getIId() {
		return this.IId;
	}

	public void setIId(Integer IId) {
		this.IId = IId;
	}

	@Column(name = "i_gid")
	public Integer getIGid() {
		return this.IGid;
	}

	public void setIGid(Integer IGid) {
		this.IGid = IGid;
	}

	@Column(name = "i_number", length = 20)
	public String getINumber() {
		return this.INumber;
	}

	public void setINumber(String INumber) {
		this.INumber = INumber;
	}

	@Column(name = "i_did")
	public Integer getIDid() {
		return this.IDid;
	}

	public void setIDid(Integer IDid) {
		this.IDid = IDid;
	}

	@Column(name = "i_duty", length = 20)
	public String getIDuty() {
		return this.IDuty;
	}

	public void setIDuty(String IDuty) {
		this.IDuty = IDuty;
	}

	@Column(name = "i_time", length = 20)
	public String getITime() {
		return this.ITime;
	}

	public void setITime(String ITime) {
		this.ITime = ITime;
	}

}